home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 41.zip
/
BS1 part 41
/
Lattice C v5.02 d2.adf
/
CompactH
/
intuition
/
intuition.h
next >
Wrap
Text File
|
1988-10-27
|
6KB
|
193 lines
INTUITION_INTUITION_HINTUITION_INTUITION_HEXEC_TYPES_H"exec/types.h"GRAPHICS_GFX_H"graphics/gfx.h"GRAPHICS_CLIP_H"graphics/clip.h"GRAPHICS_VIEW_H"graphics/view.h"GRAPHICS_RASTPORT_H"graphics/rastport.h"GRAPHICS_LAYERS_H"graphics/layers.h"GRAPHICS_TEXT_H"graphics/text.h"¸"exec/ports.h"DEVICES_TIMER_H"devices/timer.h"DEVICES_INPUTEVENT_H"devices/inputevent.h"
Menu
{
Menu*NextMenu;
LeftEdge,TopEdge;
Width,Height;
¦;
*MenuName;
MenuItem*FirstItem;
JazzX,JazzY,BeatX,BeatY;
};MENUENABLED 1MIDRAWN 256
MenuItem
{
MenuItem*NextItem;
LeftEdge,TopEdge;
Width,Height;
¦;
MutualExclude;
ItemFill;
SelectFill;
Command;
MenuItem*SubItem;
NextSelect;
};CHECKIT 1ITEMTEXT 2COMMSEQ 4MENUTOGGLE 8ITEMENABLED 16HIGHFLAGS 192HIGHIMAGE 0HIGHCOMP 64HIGHBOX 128HIGHNONE 192CHECKED 256ISDRAWN 0x1000HIGHITEM 0x2000MENUTOGGLED 0x4000
Requester
{
Requester*OlderRequest;
LeftEdge,TopEdge;
Width,Height;
RelLeft,RelTop;
»*ReqGadget;
Border*ReqBorder;
IntuiText*ReqText;
¦;
BackFill;
Layer*ReqLayer;
ReqPad1[32];
BitMap*ImageBMap;
Window*RWindow;
ReqPad2[36];
};POINTREL 1PREDRAWN 2NOISYREQ 4REQOFFWINDOW 0x1000REQACTIVE 0x2000SYSREQUEST 0x4000DEFERREFRESH 0x8000
»
{
»*NextGadget;
LeftEdge,TopEdge;
Width,Height;
¦;
Activation;
GadgetType;
GadgetRender;
SelectRender;
IntuiText*GadgetText;
MutualExclude;
SpecialInfo;
GadgetID;
UserData;
};GADGHIGHBITS 3GADGHCOMP 0GADGHBOX 1GADGHIMAGE 2GADGHNONE 3GADGIMAGE 4GRELBOTTOM 8GRELRIGHT 16GRELWIDTH 32GRELHEIGHT 64SELECTED 128GADGDISABLED 256RELVERIFY 1GADGIMMEDIATE 2ENDGADGET 4FOLLOWMOUSE 8RIGHTBORDER 16LEFTBORDER 32TOPBORDER 64BOTTOMBORDER 128TOGGLESELECT 256STRINGCENTER 512STRINGRIGHT 0x400LONGINT 0x800ALTKEYMAP 0x1000BOOLEXTEND 0x2000GADGETTYPE 0xFC00SYSGADGET 0x8000SCRGADGET 0x4000GZZGADGET 0x2000REQGADGET 0x1000SIZING 16WDRAGGING 32SDRAGGING 48WUPFRONT 64SUPFRONT 80WDOWNBACK 96SDOWNBACK 112CLOSE 128BOOLGADGET 1GADGET0002 2PROPGADGET 3STRGADGET 4
BoolInfo
{
¦;
*Mask;
Reserved;
};BOOLMASK 1
PropInfo
{
¦;
HorizPot;
VertPot;
HorizBody;
VertBody;
CWidth;
CHeight;
HPotRes,VPotRes;
LeftBorder;
TopBorder;
};AUTOKNOB 1FREEHORIZ 2FREEVERT 4PROPBORDERLESS 8KNOBHIT 256KNOBHMIN 6KNOBVMIN 4MAXBODY 0xFFFFMAXPOT 0xFFFF
StringInfo
{
*Buffer;
*UndoBuffer;
BufferPos;
MaxChars;
DispPos;
UndoPos;
NumChars;
DispCount;
CLeft,CTop;
Layer*LayerPtr;
LongInt;
KeyMap*AltKeyMap;
};
IntuiText
{
FrontPen,BackPen;
DrawMode;
LeftEdge;
TopEdge;
TextAttr*ITextFont;
*IText;
IntuiText*NextText;
};
Border
{
LeftEdge,TopEdge;
FrontPen,BackPen;
DrawMode;
Count;
*XY;
Border*NextBorder;
};
Image
{
LeftEdge;
TopEdge;
Width;
Height,Depth;
*ImageData;
PlanePick,PlaneOnOff;
Image*NextImage;
};
IntuiMessage
{
¯ExecMessage;
Class;
Code;
Qualifier;
IAddress;
MouseX,MouseY;
Seconds,Micros;
Window*IDCMPWindow;
IntuiMessage*SpecialLink;
};SIZEVERIFY 1NEWSIZE 2REFRESHWINDOW 4MOUSEBUTTONS 8MOUSEMOVE 16GADGETDOWN 32GADGETUP 64REQSET 128MENUPICK 256CLOSEWINDOW 512RAWKEY 0x400REQVERIFY 0x800REQCLEAR 0x1000MENUVERIFY 0x2000NEWPREFS 0x4000DISKINSERTED 0x8000DISKREMOVED 0x10000WBENCHMESSAGE 0x20000ACTIVEWINDOW 0x40000INACTIVEWINDOW 0x80000DELTAMOVE 0x100000VANILLAKEY 0x200000INTUITICKS 0x400000LONELYMESSAGE 0x80000000MENUHOT 1MENUCANCEL 2MENUWAITING 3OKOK MENUHOTOKABORT 4OKCANCEL MENUCANCELWBENCHOPEN 1WBENCHCLOSE 2
Window
{
Window*NextWindow;
LeftEdge,TopEdge;
Width,Height;
MouseY,MouseX;
MinWidth,MinHeight;
MaxWidth,MaxHeight;
¦;
Menu*MenuStrip;
*Title;
Requester*FirstRequest;
Requester*DMRequest;
ReqCount;
Screen*WScreen;
RastPort*RPort;
BorderLeft,BorderTop,BorderRight,BorderBottom;
RastPort*BorderRPort;
»*FirstGadget;
Window*Parent,*Descendant;
*Pointer;
PtrHeight;
PtrWidth;
XOffset,YOffset;
IDCMPFlags;
©*UserPort,*WindowPort;
IntuiMessage*MessageKey;
DetailPen,BlockPen;
Image*CheckMark;
*ScreenTitle;
GZZMouseX;
GZZMouseY;
GZZWidth;
GZZHeight;
*ExtData;
*UserData;
Layer*WLayer;
TextFont*IFont;
};WINDOWSIZING 1WINDOWDRAG 2WINDOWDEPTH 4WINDOWCLOSE 8SIZEBRIGHT 16SIZEBBOTTOM 32REFRESHBITS 192SMART_REFRESH 0SIMPLE_REFRESH 64SUPER_BITMAP 128OTHER_REFRESH 192BACKDROP 256REPORTMOUSE 512GIMMEZEROZERO 0x400BORDERLESS 0x800ACTIVATE 0x1000WINDOWACTIVE 0x2000INREQUEST 0x4000MENUSTATE 0x8000RMBTRAP 0x10000NOCAREREFRESH 0x20000WINDOWREFRESH 0x1000000WBENCHWINDOW 0x2000000WINDOWTICKED 0x4000000SUPER_UNUSED 0xFCFC0000
NewWindow
{
LeftEdge,TopEdge;
Width,Height;
DetailPen,BlockPen;
IDCMPFlags;
¦;
»*FirstGadget;
Image*CheckMark;
*Title;
Screen*Screen;
BitMap*BitMap;
MinWidth,MinHeight;
MaxWidth,MaxHeight;
Type;
};INTUITION_SCREENS_H"intuition/screens.h"INTUITION_PREFERENCES_H"intuition/preferences.h"
Remember
{
Remember*NextRemember;
RememberSize;
*Memory;
};MENUNUM(n) (n&31)ITEMNUM(n) ((n>>5)&63)SUBNUM(n) ((n>>11)&31)SHIFTMENU(n) (n&31)SHIFTITEM(n) ((n&63)<<5)SHIFTSUB(n) ((n&31)<<11)SRBNUM(n) (0x08-(n>>4))SWBNUM(n) (0x08-(n&15))SSBNUM(n) (0x01+(n>>4))SPARNUM(n) (n>>4)SHAKNUM(n) (n&15)NOMENU 31NOITEM 63NOSUB 31MENUNULL 0xFFFFFOREVER for(;;)SIGN(x) (((x)>0)-((x)<0))NOT !CHECKWIDTH 19COMMWIDTH 27LOWCHECKWIDTH 13LOWCOMMWIDTH 16ALERT_TYPE 0x80000000RECOVERY_ALERT 0DEADEND_ALERT 0x80000000AUTOFRONTPEN 0AUTOBACKPEN 1AUTODRAWMODE JAM2AUTOLEFTEDGE 6AUTOTOPEDGE 3AUTOITEXTFONTAUTONEXTTEXTSELECTUP (IECODE_LBUTTON|IECODE_UP_PREFIX)SELECTDOWN (IECODE_LBUTTON)MENUUP (IECODE_RBUTTON|IECODE_UP_PREFIX)MENUDOWN (IECODE_RBUTTON)ALTLEFT (IEQUALIFIER_LALT)ALTRIGHT (IEQUALIFIER_RALT)AMIGALEFT (IEQUALIFIER_LCOMMAND)AMIGARIGHT (IEQUALIFIER_RCOMMAND)AMIGAKEYS (AMIGALEFT|AMIGARIGHT)CURSORUP 76CURSORLEFT 79CURSORRIGHT 78CURSORDOWN 77KEYCODE_Q 16KEYCODE_X 50KEYCODE_N 54KEYCODE_M 55KEYCODE_V 52KEYCODE_B 53